import request from "@/utils/request"
type userInfo = {
    username: string
    password: string
}
export const login = () => {
    return request({
        url: '/user/login',
        method: "post"
    })
}
export const getUser = () => {
    return request({
        url: "/user",
        method: "get"
    })
}